home *** CD-ROM | disk | FTP | other *** search
- from PSPApp import *
-
- def ScriptProperties():
- return {
- 'Author': u'Corel Corporation',
- 'Copyright': u'Copyright (c) 2003-2004 Corel Corporation All rights reserved.',
- 'Description': u'',
- 'Host': u'Paint Shop Pro',
- 'Host Version': u'8.10'
- }
-
- def Preset_MagnifyingLens():
- return {
- 'Darkness': 0,
- 'Defocus': 0,
- 'Frame': {
- 'FrameColor': (0,0,255),
- 'Material': App.Constants.LensFrameMaterial.ShinyBluePlastic,
- 'Style': App.Constants.LensFrameShape.RoundedSquare,
- 'Thickness': 6
- },
- 'Illumination': {
- 'LightList': [{
- 'LightColor': (255,255,255),
- 'LightDirection': (1,1,-1),
- 'HighlightSize': 20
- }],
- 'MaxAmbience': 50,
- 'MinAmbience': 0
- },
- 'LensSurface': {
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false,
- 'MapType': App.Constants.LensMapType.CurrentImage,
- 'FileName': u'',
- 'PatternOpacity': 50
- },
- 'Gloss': 0,
- 'Magnification': 90,
- 'LensMaterial': {
- 'Color': (0,0,0),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'LensOpacity': 10,
- 'Refraction': 30,
- 'ShapeType': App.Constants.LensShape.Spherical,
- 'Shininess': 50
- }
- }
-
- def Do(Environment):
- # Magnifying Lens
- App.Do( Environment, 'MagnifyingLens', Preset_MagnifyingLens())
-
-